package com.wps.wdztv6.domain.edit;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Builder
public class UploadFileNewVersionCallback {
	
	@JSONField(name = "file")
    private File file;

	@Getter
	@Setter
	@Builder
	public static class File {
	    
	    @JsonProperty("id")
	    private String id;
	    
	    @JsonProperty("name")
	    private String name;
	    
	    @JsonProperty("version")
	    private int version;
	    
	    @JsonProperty("size")
	    private long size;
	    
	    @JsonProperty("download_url")
	    private String downloadUrl;
	    
	}
}
